﻿
using System;
using System.Web;
using System.Collections.Generic;
using BLToolkit.Mapping;
using BLToolkit.Data;
using BLToolkit.Reflection;

/// <summary>Station_id</summary>
public class Station : LoggingObject
{
	[Nullable]
	[MapField("Station_id")]
	public Int64 Id { get; set; }

	[Nullable]
	[MapField("Station_name")]
	public string Name { get; set; }


	public bool Merge()
	{
		try
		{
			SetLoggingInfo();
			this.Id = DBEntity<Station>.Merge(this);
			return true;
		}
		catch { return false; }
	}
}
